//
//  AppDelegate.m
//  BlurryImage
//
//  Created by xxh on 2022/1/20.
//

#import "AppDelegate.h"
#import "AppDelegate+BlurryImage.h"
@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Override point for customization after application launch.
    return YES;
}

- (void)applicationDidBecomeActive:(UIApplication *)application {
    [self removeBlurryViewInWindow];
}

- (void)applicationDidEnterBackground:(UIApplication *)application {
    [self showBlurryViewInWindow];
}

- (void)applicationWillResignActive:(UIApplication *)application {
    [self showBlurryViewInWindow];
}
- (void)applicationWillEnterForeground:(UIApplication *)application {
    [self removeBlurryViewInWindow];
}
@end
